package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class CustomerChat extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /** 用户ID */
    private int id;

    /** 当前聊天会话序号，新客户或未开始为-1 */
    private int chatId;

    /** 客服WhatsApp账户 */
    @Excel(name = "客服账户")
    private String customerNumber;

    @Excel(name = "客服名称")
    private String customerName;

    @Excel(name = "粉丝名称")
    private String clientName;

    /** 客户WhatsApp账户 */
    @Excel(name = "粉丝WhatsApp账户,required = true")
    private String clientNumber;

    @Excel(name = "剧本id")
    private String templateId;

    /** 客户所在国家 */
    private String clientCountry;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date  updateTime;

    /** 是否是新客户(0:不是，1：是) */
    private int isNew = 1;

    private String sex;

    /** 是否有未回复的信息(0：不是，1：是) */
    private int isUnreplie;

    /** 待会的信息聚合(分隔符：##!&&)，is_unreplie为1时存在 */
    private String pendingReplies;

    /** 当前的会话阶段1:第一天，2：第二天，以此类推 */
    private int dayPhase;

    /** 当天会话的阶段：0开始 */
    private int conversationStage = -1;

    private int onTime;

    private int upTime;

    private int status = -1;

    private int clientAge;

    private String clientProfession;

    private String avatar;

    private Long userId;

    private Long deptId;

    private String code;

    private String clientCount;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getClientCount() {
        return clientCount;
    }

    public void setClientCount(String clientCount) {
        this.clientCount = clientCount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public int getClientAge() {
        return clientAge;
    }

    public void setClientAge(int clientAge) {
        this.clientAge = clientAge;
    }

    public String getClientProfession() {
        return clientProfession;
    }

    public void setClientProfession(String clientProfession) {
        this.clientProfession = clientProfession;
    }

    public int getOnTime() {
        return onTime;
    }

    public void setOnTime(int onTime) {
        this.onTime = onTime;
    }

    public int getUpTime() {
        return upTime;
    }

    public void setUpTime(int upTime) {
        this.upTime = upTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getChatId() {
        return chatId;
    }

    public void setChatId(int chatId) {
        this.chatId = chatId;
    }

    public String getCustomerNumber() {
        return customerNumber;
    }

    public void setCustomerNumber(String customerNumber) {
        this.customerNumber = customerNumber;
    }

    public String getClientNumber() {
        return clientNumber;
    }

    public void setClientNumber(String clientNumber) {
        this.clientNumber = clientNumber;
    }

    public String getClientCountry() {
        return clientCountry;
    }

    public void setClientCountry(String clientCountry) {
        this.clientCountry = clientCountry;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsNew() {
        return isNew;
    }

    public void setIsNew(int isNew) {
        this.isNew = isNew;
    }

    public int getIsUnreplie() {
        return isUnreplie;
    }

    public void setIsUnreplie(int isUnreplie) {
        this.isUnreplie = isUnreplie;
    }

    public String getPendingReplies() {
        return pendingReplies;
    }

    public void setPendingReplies(String pendingReplies) {
        this.pendingReplies = pendingReplies;
    }

    public int getDayPhase() {
        return dayPhase;
    }

    public void setDayPhase(int dayPhase) {
        this.dayPhase = dayPhase;
    }

    public int getConversationStage() {
        return conversationStage;
    }

    public void setConversationStage(int conversationStage) {
        this.conversationStage = conversationStage;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
